import Vue from 'vue'
import App from './App.vue'

Vue.config.productionTip = false

// 引入bootstrap
import "bootstrap/dist/css/bootstrap.min.css"
import "./assets/fonts/iconfont.css"

// 引入axios
import axios from "axios"
axios.defaults.baseURL = "https://www.escook.cn"
Vue.prototype.$axios = axios

// 全局指令
Vue.directive("focus", {
  inserted(el) { 
    el.focus()
  }
})

new Vue({
  render: h => h(App),
}).$mount('#app')